package com.ytrsoft.im;

import com.ytrsoft.enums.IMState;

public class IMMessage<T> {

    private IMState state;
    private T payload;

    public IMState getState() {
        return state;
    }

    public void setState(IMState state) {
        this.state = state;
    }

    public T getPayload() {
        return payload;
    }

    public void setPayload(T payload) {
        this.payload = payload;
    }
}
